#include "public.h"
#include "XL01.h"
#include "lcd.h"
#include "interrupter1.h"
#include "buzzer.h"

void heart_rate_alert()
{
	if(page==0) 
	{
		if(bmp<threshold_data[0][0] || bmp>threshold_data[0][1]) 
		{
			alert();
			D3=0;
		} 
		else D3=1;
	} 
	else D3=1;
}